package com.hyst.apicontroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Api(value="MasterData",description = "主数据管理接口")
@RestController
@RequestMapping(value="MasterData")
public class MasterDataController {
	
	
	
	@ApiOperation(value = "获取部门主数据")
	@GetMapping("getDepts")
	public String getDepts() {
		return "";
	}
	
	@ApiOperation(value = "增加部门主数据")
	@ApiImplicitParam(name = "Dept", value = "部门实体dept", required = true, dataType = "Dept")
	@PostMapping("addDepts")
	public String addDepts() {
		return "";
	}
	
	@ApiOperation(value = "更新部门主数据")
	@PostMapping("updateDepts")
	public String updateDepts(@ApiParam(value = "部门唯一id", required = true)String deptid) {
		return "";
	}
	@ApiOperation(value = "删除部门主数据")
	@PostMapping("deleteDepts")
	public String deleteDepts(@ApiParam(value = "部门唯一id", required = true)String deptid) {
		return "";
	}


	
	
	
	/**************************************************************************/
	
	
	
	
	
	@ApiOperation(value = "获取人员主数据")
	@GetMapping("getUsers")
	public String getUsers() {
		return "";
	}
	
	@ApiOperation(value = "增加人员主数据")
	@ApiImplicitParam(name = "Dept", value = "人员实体user", required = true, dataType = "User")
	@GetMapping("addUsers")
	public String addUsers() {
		return "";
	}
	
	@ApiOperation(value = "更新人员主数据")
	@GetMapping("updateUser")
	public String updateUser(@ApiParam(value = "人员唯一id", required = true)String deptid) {
		return "";
	}
	@ApiOperation(value = "删除人员主数据")
	@GetMapping("deleteUsers")
	public String deleteUsers(@ApiParam(value = "人员唯一id", required = true)String deptid) {
		return "";
	}
	
	
	
	/**************************************************************************/
	
	

	
	
	@ApiOperation(value = "获取产品主数据")
	@GetMapping("getProducts")
	public String getProducts() {
		return "";
	}
	
	@ApiOperation(value = "增加产品主数据")
	@ApiImplicitParam(name = "Dept", value = "产品实体user", required = true, dataType = "Product")
	@GetMapping("addProducts")
	public String addProducts() {
		return "";
	}
	
	@ApiOperation(value = "更新产品主数据")
	@GetMapping("updateProduct")
	public String updateProduct(@ApiParam(value = "产品唯一id", required = true)String deptid) {
		return "";
	}
	@ApiOperation(value = "删除产品主数据")
	@GetMapping("deleteProducts")
	public String deleteProducts(@ApiParam(value = "产品唯一id", required = true)String deptid) {
		return "";
	}
	
	
}
